<div id ="alertas"></div>
<input type ="hidden" id ="id_contrato" value ="<?= $id;?>">
  <table style =" width: 100%;">
    <tr bgcolor ="#F5F5F5">
      <td>Processo</td>
    <td> <input name ='processo' size ='15' maxlength ='21'
	  id = 'processo' value ="<?= (isset($processo))? $processo: ""; ?>" disabled ></td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Modalidade</td>
      <td><?= isset($modalidade)? $modalidade: ""; ?></td>
    </tr>
    <tr>
      <td>Numero da Licitaçao</td>
      <td> <input name ='num_licita' size ='10' maxlength ='10' 
	    id = 'num_licita' value ="<?= isset($num_licita)? $num_licita: ""; ?>" disabled></td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Ano da Licitaçao</td>
      <td> <input name ='ano_licita' size ='4' maxlength ='4' 
	    id = 'ano_licita' value ="<?= isset($ano_licita)? $ano_licita: ""; ?>" disabled></td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Responsavel</td>
      <td> <input name ='responsavel' size ='50' maxlength ='80' 
	    id = 'responsavel' value ="<?=$responsavel; ?>" disabled></td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Nome/Razao social do vencedor</td>
      <td> <input name ='vencedor' size ='50' maxlength ='80' 
	    id = 'vencedor' value ="<?=$vencedor; ?>" disabled></td>
    </tr>
    <tr>
      <td>Objeto</td>
      <td> <textarea name ='obj_licita' cols ='50' rows ='5' onkeyup ="noEnter(this,1000)"
	    id = 'obj_licita'><?=$objeto; ?></textarea>
      </td>
    </tr>
    <tr>
      <td>Numero do Contrato</td>
      <td> <input name ='num_contrato' size ='10' maxlength ='10' 
	    id = 'num_contrato' value ="<?=$numero;?>" ></td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Ano do Contrato</td>
      <td> <input name ='ano_contrato' size ='4' maxlength ='4' 
	    id = 'ano_contrato' value ="<?=$ano;?>" ></td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Data de Publicaçao</td>
      <td> <input name ='data_publicacao' size ='10' maxlength ='10' onkeydown ="mascara(this,data)" onblur = "mascara(this,validaDat)"
	    id = 'data_publicacao' value ='<?=$data_publicacao;?>'  ></td>
    </tr>
    <tr>
      <td>Fundamentaçao Legal</td>
      <td> <textarea name ='fundamentacao' cols ='50' rows ='5' onkeyup ="noEnter(this,1000)"
	    id = 'fundamentacao' ><?=$fundamentacao;?></textarea>
      </td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Inicio da Vigencia</td>
      <td> <input name ='inicio_vigencia' size ='10' maxlength ='10' onkeydown ="mascara(this,data)" onblur = "mascara(this,validaDat)"
	    id = 'inicio_vigencia' value ='<?=$inicio;?>'  ></td>
    </tr>
    <tr>
      <td>Termino da Vigencia</td>
      <td> <input name ='termino_vigencia' size ='10' maxlength ='10' onkeydown ="mascara(this,data)" onblur = "mascara(this,validaDat)"
	    id = 'termino_vigencia' value ='<?=$termino;?>'  ></td>
    </tr>
    <tr>
      <td>Valor do Contrato</td>
      <td> <input name ='valor_contrato' size ='50' maxlength ='80' 
	    id = 'valor_contrato' value ='<?=$valor_contrato ?>' disabled ></td>
    </tr>
    <tr bgcolor ="#F5F5F5">
      <td>Situaçao</td>
      <td> <?= $situacao_contrato ?></td>
    </tr>
  </table><hr>
<div id ="botoes" class ="fltrt">
  <button type = 'button' onclick = 'alterar_contrato()'>Salvar</button>
  <button type = 'button' onclick = 'retornar()'>Cancelar</button>
</div><br class ="clearfloat">
